import java.util.Scanner;

public class 采购 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        double[] a=new double[10];
        System.out.println("输入价格");
        for (int i = 0; i < 10; i++) {
            double b= scanner.nextDouble();
            a[i]=b;

        }
        System.out.println(a[0]+a[1]+a[3]+a[4]+a[5]+a[6]+a[7]+a[8]+a[9]);
        for (int i = 0; i < 10; i++) {
            System.out.println(a[i]);

        }

    }
}
